//
//  ConfigManager.h
//  dongbo
//
//  Created by 葛殿宏 on 16/2/22.
//  Copyright © 2016年 arenacloud. All rights reserved.
//

#import <Foundation/Foundation.h>

#ifdef DEBUG
#define BaseRequestURL                                    [[ConfigManager shareConfigManager] getDebugAppUrl]
#define BaseSocketURL                                    [[ConfigManager shareConfigManager] getDebugSocketUrl]
#define BasePayURL                                       [[ConfigManager shareConfigManager] getDebugPayUrl]
#else
#define BaseRequestURL                                    [[ConfigManager shareConfigManager] getReleaseAppUrl]
#define BaseSocketURL                                    [[ConfigManager shareConfigManager] getReleaseSocketUrl]
#define BasePayURL                                       [[ConfigManager shareConfigManager] getReleasePayUrl]
#endif

@interface ConfigManager : NSObject

+ (ConfigManager *)shareConfigManager;

//取内网服务器地址
- (NSString *)getDebugAppUrl;

//取外网服务器地址
- (NSString *)getReleaseAppUrl;

//取内网支付地址
- (NSString *)getDebugPayUrl;

//取外网支付地址
- (NSString *)getReleasePayUrl;

//取内网socket服务器地址
- (NSString *)getDebugSocketUrl;

//取外网socket服务器地址
- (NSString *)getReleaseSocketUrl;

//取app版本
- (NSString *)getAppVersion;

@end
